﻿using System.Data;
using System.Windows.Forms;

namespace BLL
{
    public class Accounts_Roles
    {
        private readonly Aliyeye.Car.Net.Dal.Accounts_Roles dal = new Aliyeye.Car.Net.Dal.Accounts_Roles();
        public Accounts_Roles() { }
        public int Add(Model.Accounts_Roles model)
        {
            return dal.Add(model);
        }
        public DataSet GetList(string strWhere)
        {
            return dal.GetList(strWhere);
        }

        public bool Update(Model.Accounts_Roles model)
        {
            return dal.Update(model);
        }

        public bool Delete(Model.Accounts_Roles model)
        {
            return dal.Delete(model);
        }
    }
}
